//
//  FGLastestVoucherView.h
//  Mi6App
//
//  Created by Mr.Lemon on 8/30/13.
//  Copyright (c) 2013 4G Secure. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "FGVoucherInfo.h"

@class FGNewVoucherViewController;

@protocol LastestVoucherDelegate <NSObject>

-(void)onClickVoucherWithType:(NSInteger)type andIndex:(NSInteger)indexVoucher;

@end

@interface FGLastestVoucherView : UIView
@property (strong, nonatomic) IBOutlet UILabel *lblVoucherTitle;
@property (strong, nonatomic) IBOutlet UILabel *lblVoucherName;
@property (strong, nonatomic) IBOutlet UIImageView *imgVoucher;
@property (nonatomic)  NSInteger indexVoucher;
@property (strong, nonatomic) id<LastestVoucherDelegate> delegate;
- (IBAction)onBtnNerverClick:(id)sender;
- (IBAction)onBtnMaybeClick:(id)sender;
- (IBAction)onBtnSaveClick:(id)sender;
-(void)setViewWithVoucherObject:(FGVoucherInfo*)voucherInfo andIndex:(NSInteger)index;

@property (strong, nonatomic) IBOutlet UIButton *btnNever;
@property (strong, nonatomic) IBOutlet UIButton *btnReminLater;
@property (strong, nonatomic) IBOutlet UIButton *btnSaveVoucher;

@end
